<?php
class SysTeacherSalaryDao {
	private $table = 'sys_teacher_salary';
	public function getData($where=array()){
		$where=$this->searchWhere($where);
		return ClassManager::getSql()->onedata1($this->table,'*',$where);
	}
	private function searchWhere($where){
		$where1 = array();
		foreach ($where as  $k=>$v){
			if (!empty($v)){
				$where1[$k] = $v;
			}
		}
		unset($where);
		return $where1;
	}
}
?>